#include <stdio.h>

void bijiao(int a, int b,int c) 
{	
	int max;
	while (!(a >= b && b >= c)) {
	if (c > b) 
	{
		max = c;
		c = b;
		b = max;
	}
	if (b > a) 
	{
		max = b;
		b = a;
		a = max;
	}
	}
	printf("%d %d %d", a, b, c);
}

int main() 
{
	int a, b, c;
	scanf_s("%d %d %d",&a,&b,&c);
	bijiao(a, b, c);
	return 0;
}